a11y: Add private API to clone a GtkATContext
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 10 Nov 2020 14:19:32 +0000 (14:19 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 10 Nov 2020 14:31:56 +0000 (14:31 +0000)
commit7ed06480cf46768a42462363ac33b6bb8b8a3cdf
treea36acec3d7207d81f32bdd2fee38c5b7fcbbac17
parentf9db651f32d9ab032b533cb9961e765d0bdc3ff3
a11y: Add private API to clone a GtkATContext

Some widgets might want to override GtkAccessible and create their own
context in order to control the accessible role post-construction time.
To avoid explicitly copying the existing state over from the original
ATContext to the new one, we need a way to clone the context's state
from inside the ATContext itself.
gtk/gtkatcontext.c
gtk/gtkatcontextprivate.h